package com.example.base;

import java.util.Scanner;

public class InputTest {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("What is your name?");
        String name = input.nextLine();

        System.out.println("How old are you?");
        int age = input.nextInt();

        System.out.println("Hello, " + name + ", Next year, you'll be " + (age + 1));
    }
}
